<template>
  <div>
    <app-icon v-for="menu in menuList" :menu='menu' :key="menu.name" />
  </div>
</template>

<script>
import AppIcon from 'components/app-icon';

export default {
  components: { AppIcon },
  props: {},
  data() {
    return {
      menuList: [{
        name: '系统应用',
        children: [
          {
            name: '主控面板',
            icon: 'mdi-content-paste',
            url: '',
            children: [
              { name: '工作台', icon: 'mdi-content-paste', url: '' },
              { name: '分析页', icon: 'mdi-sitemap', url: '' },
            ],
          },
          {
            name: '系统用户',
            icon: 'mdi-sitemap',
            url: '',
            children: [
              { name: '用户管理', icon: 'mdi-content-paste', url: '' },
            ],
          },
          { name: '机构管理', icon: 'mdi-account-multiple-minus-outline', url: '' },
          { name: '公司管理', icon: 'mdi-console-network-outline', url: '' },
          { name: '职位管理', icon: 'mdi-console-network-outline', url: '' },
        ],
      }, {
        name: '应用权限',
        children: [
          { name: '应用管理', icon: 'mdi-account-star-outline', url: '' },
          { name: '角色管理', icon: 'mdi-card-account-details-star-outline', url: '' },
          { name: '菜单管理', icon: 'mdi-ship-wheel', url: '' },
          { name: '资源查看', icon: 'mdi-account-switch-outline', url: '' },
        ],
      }, {
        name: '基础数据',
        children: [
          { name: '系统配置', icon: 'mdi-warehouse', url: '' },
          { name: '字典管理', icon: 'mdi-sofa', url: '' },
        ],
      }],
    };
  },
  watch: {},
  computed: {},
  methods: {},
  created() { },
  mounted() { },
};
</script>
<style lang="stylus"></style>
